import 'package:flutter/material.dart';

// tabBar页顶部右上角 - 搜索按钮
class SearchAction extends StatelessWidget {
  const SearchAction({super.key});

  @override
  Widget build(BuildContext context) {
    // return IconButton(
    //   icon: const Icon(Icons.search),
    //   onPressed: () {
    //     Navigator.pushNamed(context, 'SearchPage');
    //   },
    // );
    return Image.asset('assets/images/common/search.png', width: 22,);
  }
}
